package  com.rrs.cost.obversion.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import  com.rrs.cost.obversion.CostObversion;
import  com.rrs.cost.obversion.dao.ICostObversionDao;
import org.rk.core.pub.base.service.ModelService;


@Service("CostObversionService")
public class CostObversionService extends ModelService<CostObversion> implements ICostObversionService{

	private ICostObversionDao modelDao;
	@Resource(name="CostObversionDao")
	public void setCostObversionDao(ICostObversionDao modelDao) {
		super.setDbDao(modelDao);
		this.modelDao=modelDao;
	}
	@Override
	@Transactional
	public boolean deleteById(Long id){
		return modelDao.deleteById(id);
	}
}
